package com.smforj.ssm.modules.lib.domain;

import java.io.Serializable;

import com.smforj.ssm.frame.core.enums.LoginType;



/****
 * SIP  Base Request
 * 
 * @author Haijun Gao 
 * @date 2017-8-9 下午4:18:11
 * @desp http://www.cnblogs.com/saga5998/
 * @email 573107773@qq.com
 */
public abstract class BaseRequest implements Serializable { 
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 823414478168773929L;
	
	private String transactionDate;  
	private String institutionId;
	//登陆类型 0 RFID 1 ID CARD
	private LoginType loginType;
	private String szUserId; 
	private String szUserPWD;
	/***
	 * token
	 */
	private String access_token;
	
	/***
	 * 设备信息
	 */
	private Terminal terminal;

	/***
	 * 获取交易日期
	 * @return
	 * @date 2017-8-9 下午6:31:42
	 */
	public String getTransactionDate() {
		return transactionDate;
	}

	/***
	 * 设置交易时间
	 * @param transactionDate
	 * @date 2017-8-9 下午6:32:40
	 */
	public void setTransactionDate(String transactionDate) {
		this.transactionDate = transactionDate;
	} 

	/***
	 * 机构ID
	 * @return
	 * @date 2017-8-9 下午6:33:30
	 */
	public String getInstitutionId() {
		return institutionId;
	}

	/***
	 * 机构ID
	 * @param institutionId
	 * @date 2017-8-9 下午6:33:39
	 */
	public void setInstitutionId(String institutionId) {
		this.institutionId = institutionId;
	}

	/***
	 * 登陆类型 0 RFID 1 ID CARD
	 * @return
	 * @date 2017-8-9 下午6:34:47
	 */
	public LoginType getLoginType() {
		return loginType;
	}

	/***
	 * 登陆类型 0 RFID 1 ID CARD
	 * @param loginType
	 * @date 2017-8-9 下午6:34:51
	 */
	public void setLoginType(LoginType loginType) {
		this.loginType = loginType;
	}

	/***
	 * RFID
	 * @return
	 * @date 2017-8-9 下午6:35:12
	 */
	public String getSzUserId() {
		return szUserId;
	}

	/***
	 * RFID
	 * @param szUserId
	 * @date 2017-8-9 下午6:35:19
	 */
	public void setSzUserId(String szUserId) {
		this.szUserId = szUserId;
	} 

	public String getSzUserPWD() {
		return szUserPWD;
	}

	public void setSzUserPWD(String szUserPWD) {
		this.szUserPWD = szUserPWD;
	}

	/***
	 * 终端信息
	 * @return
	 * @date 2017-8-9 下午6:35:26
	 */
	public Terminal getTerminal() {
		return terminal;
	}

	/***
	 * 终端信息
	 * @param terminal
	 * @date 2017-8-9 下午6:35:38
	 */
	public void setTerminal(Terminal terminal) {
		this.terminal = terminal;
	}

	public String getAccess_token() {
		return access_token;
	}

	public void setAccess_token(String access_token) {
		this.access_token = access_token;
	} 
}
